export default {

    // Server base
    base1: 'http://127.0.0.1:8000/',

    contract: {
        // Mainnet
        router: '0x7a250d5630b4cf539739df2c5dacb4c659f2488d',
        factory: '0x5C69bEe701ef814a2B6a3EDD4B1652CB9cc5aA6f',
        
        // Rinkeby
        // factory: same as mainnet

        // Heco
        // router: '0xed7d5f38c79115ca12fe6c0041abb22f0a06c300', // unchecksumed?
        // factory: '0xb0b670fc1F7724119963018DB0BfA86aDb22d941',
    },

    uni_graph_node: 'https://api.thegraph.com/subgraphs/name/ianlapham/uniswapv2',
    // uni_graph_node: 'https://graph.mdex.com/subgraphs/name/mdex/swap',

    // use plugins
    plugins: {
        // Show Flow Direction.
        // For Col: Flow
        SwapNamePlugin: true,

        // Turn [Amount0, Amout1]*[In, Out] into [AmountIn, AmountOut].
        // For Col: Token Amount
        SwapColPlugin: true,

        // Turn item.sender || item.to to item.account
        // For Col: Account
        AccountPlugin: true,

        // Fetch from addr of a sell token Tx(account of sell Tx is always 0x7a25...).
        // require backend
        // For Col: Account
        SellAccountAdjustPlugin: false,

        // Import whitelist filter
        // For Col: Type
        WhiteListPlugin: true,

        // Turn timestamp into readable text.
        // For Col: Time
        TimeDisplayPlugin: true,

        // Show if an address is a contract
        // For Col: Type
        IsContractPlugin: false, // associated with provider, disabled temporarily
    }
}
